package com.aplink.generic.interfaces;

import java.util.ArrayList;

import com.aplink.generic.pojo.ContentData;
import com.aplink.generic.pojo.GenericObject;
import com.aplink.generic.webservice.DataResult;

public interface DatabaseInsert {

    public ArrayList<String> initTable(ArrayList<GenericObject> genericObjects);

    public ArrayList<String> initTable(ArrayList<GenericObject> genericObjects,
            String table);

    public String initTable(GenericObject object, String table);

    public void initTables(ArrayList<DataResult> dataResults);

    public ArrayList<String> insert(ArrayList<GenericObject> genericObjects,
            ContentData objPropCol);

    public String insert(GenericObject object, ContentData objPropCol);

    public String insert(GenericObject object, ContentData objPropCol,
            ArrayList<GenericObject> listImages, ContentData galleryContentData);

    public String insertDownloaded(DataResult dataResult);

    public ArrayList<String> insertDownloadedList(
            ArrayList<DataResult> dataResults);

}
